<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets">
    
    <h:head>
        <title>Disable Student </title>
    </h:head>
    <f:view>
<h:body>
<ui:composition	template="../includes/template.xhtml">
      <ui:define name="mainbody">
          <center>
                   <h:form id="form">
                  <p:spacer height="5"/>

              <p:panel header="Disable Student" style="min-height: 550px">

	<p:dataGrid var="car" value="Student 1" columns="3"
		rows="12" paginator="true"
		paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
		rowsPerPageTemplate="9,12,15"  >
		
		<p:column>
			<p:panel header="Roll Number" style="text-align:center">
				<h:panelGrid columns="1" style="width:100%">
					<p:graphicImage value="web/images/parents.png"/> 
				
					<h:outputText value="sample" />
					
					<p:commandLink oncomplete="" title="View Detail">
						<p:graphicImage value="web/images/grad.png"/> 
						<f:setPropertyActionListener value="sample" 
								target="" />
					</p:commandLink>
				</h:panelGrid>
			</p:panel>
		</p:column>

	</p:dataGrid>
	
	<p:dialog header="Car Detail" widgetVar="carDialog" modal="true">
		<p:outputPanel id="carDetail" style="text-align:center;" layout="block">
		
			<p:graphicImage value="web/images/cars/forum.png"/>
			
			<h:panelGrid  columns="2" cellpadding="5">
				<h:outputLabel for="modelNo" value="Model No: " />
				<h:outputText id="modelNo" value="Sample" />
				
				<h:outputLabel for="year" value="Year: " />
				<h:outputText id="year" value="Sample" />
				
				<h:outputLabel for="color" value="Color: " />
				<h:outputText id="color" value="Sample" style="color:#ccccff"/>
			</h:panelGrid>
		</p:outputPanel>
	</p:dialog>
</p:panel>
</h:form>
		
            </center>
           </ui:define>
          </ui:composition>
       </h:body>
    </f:view>
</html>
